<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{jrjbxxForm.bundleName}"/>
    <head>
        <title>#{text['jrjbxxDetail.title']}</title>
        <meta name="heading" content="#{text['jrjbxxDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="jrjbxxForm">

<h:form id="jrjbxxForm" onsubmit="return validateJrjbxxForm(this)">
<h:inputHidden value="#{jrjbxxForm.jrjbxx.id}" id="id"/>
<h:inputHidden value="#{jrjbxxForm.jrjbxx.version}" id="version"/>
  <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{jrjbxxForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty jrjbxxForm.jrjbxx.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{jrjbxxForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Jrjbxx')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>

<h:panelGrid columns="6">
    <h:outputLabel styleClass="desc" for="yhmc" value="#{text['jrjbxx.yhmc']}"/>
    <t:message for="yhmc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yhmc" value="#{jrjbxxForm.jrjbxx.yhmc}" required="true" maxlength="50">
        <v:commonsValidator type="required" arg="#{text['jrjbxx.yhmc']}"/>
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="sxed" value="#{text['jrjbxx.sxed']}"/>
    <t:message for="sxed" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="sxed" value="#{jrjbxxForm.jrjbxx.sxed}" required="false" maxlength="255">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="rgje" value="#{text['jrjbxx.rgje']}"/>
    <t:message for="rgje" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="rgje" value="#{jrjbxxForm.jrjbxx.rgje}" required="false" maxlength="30">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="dqdkqhl" value="#{text['jrjbxx.dqdkqhl']}"/>
    <t:message for="dqdkqhl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dqdkqhl" value="#{jrjbxxForm.jrjbxx.dqdkqhl}" required="false" maxlength="255">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="dqxycfl" value="#{text['jrjbxx.dqxycfl']}"/>
    <t:message for="dqxycfl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dqxycfl" value="#{jrjbxxForm.jrjbxx.dqxycfl}" required="false" maxlength="255">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="dklxchl" value="#{text['jrjbxx.dklxchl']}"/>
    <t:message for="dklxchl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dklxchl" value="#{jrjbxxForm.jrjbxx.dklxchl}" required="false" maxlength="255">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="dkfxfl" value="#{text['jrjbxx.dkfxfl']}"/>
    <t:message for="dkfxfl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dkfxfl" value="#{jrjbxxForm.jrjbxx.dkfxfl}" required="false" maxlength="20">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="jzrq" value="#{text['jrjbxx.jzrq']}"/>
    <t:message for="jzrq" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jzrq" value="#{jrjbxxForm.jrjbxx.jzrq}" required="false" maxlength="23">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="khfl" value="#{text['jrjbxx.khfl']}"/>
    <t:message for="khfl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="khfl" value="#{jrjbxxForm.jrjbxx.khfl}" required="false" maxlength="255">
    </h:inputText>
    <!--  
    <h:outputLabel styleClass="desc" for="id" value="#{text['jrjbxx.id']}"/>
    <t:message for="id" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="id" value="#{jrjbxxForm.jrjbxx.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['jrjbxx.id']}"/>
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="operation" value="#{text['jrjbxx.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{jrjbxxForm.jrjbxx.operation}" required="false" maxlength="20">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['jrjbxx.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{jrjbxxForm.jrjbxx.optdate}" required="false" maxlength="23">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="username" value="#{text['jrjbxx.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{jrjbxxForm.jrjbxx.username}" required="false" maxlength="50">
    </h:inputText>
    -->
    
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateJrjbxxForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('jrjbxxForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
